package me.sealer.ssm.mapper;

import java.util.List;
import me.sealer.ssm.model.User;
import me.sealer.ssm.model.UserExample;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    List<User> selectByExample(UserExample example);

    User findUserByUsername(String username);

    void updateUser(User user);

    void insert(User user);

    User findUserByPhoneNumber(String phoneNumber);

    User findUserByEmail(String email);
}